package smartcampus.scjava.service;

import smartcampus.scjava.POJO.DO.LaboratoryReserve;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 实验室预定表 服务类
 * </p>
 *
 * @author xian
 * @since 2023-12-05
 */
public interface ILaboratoryReserveService extends IService<LaboratoryReserve> {

    List<Map<String, Object>> listReserveByLab(Integer laboratoryId);

    boolean checkRepeatLabReserve(Integer laboratoryId, String... times);
}
